﻿@*
    For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
    //ViewData["Title"] = "Index";
    Layout = null;
}
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <link href="/css/bootstrap.css" rel="stylesheet" />
    <script src="/vendor/jquery/jquery.min.js"></script>
    <script src="/vendor/jquery/bootstrap.js"></script>
    <script src="/js/UploadJs.js"></script>
		<script>
			function fileUpload()
			{
				$("#file").hide();
				UploadStart(function(){
					$("#file").show();
				});
			}
			</script>
</head>
<body>
    <div class="row" style="margin-top:20%">
        <div class="col-lg-4"></div>
        <div class="col-lg-4">
            <input type="text" value="请选择文件" size="20" name="upfile" id="upfile" style="border:1px dotted #ccc">
            <input type="button" value="浏览" onclick="path.click()" style="border:1px solid #ccc;background:#fff">
            <input type="file" id="path" style="display:none" multiple="multiple" onchange="upfile.value=this.value">
            <br />
            <span id="output">0%</span>
            <button type="button" id="file" onclick="fileUpload()" style="border:1px solid #ccc;background:#fff">开始上传</button>
        </div>
        <div class="col-lg-4"></div>
    </div>
</body>
</html>
